<?php

class js {
    
    private $js= array();
  
    public function setJs($js){        
        
        $this->js[] = '            <script language="JavaScript" type="text/javascript" src="includes/js/'.$js.'"></script>';
        
    }

    public function getJs(){

        foreach ($this->js as $key => $value) {
            $Str .= $value ."\n"; 
        }        
        
        return $Str;
    }
}

?>




